package com.ja.openchat.ui.chat.annotation;


import com.zy.openchat.core.manager.TelegramManager;
import com.zy.openchat.core.model.message.MessageContent;
import com.ja.openchat.ui.chat.adapter.viewholder.MessageContentViewHolder;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用于设置消息UI({@link MessageContentViewHolder})和消息体({@link MessageContent})对应关系
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MessageContentType {
    TelegramManager.MessageType[] value();
}
